import { attrDefine } from "../../../../../defines/attr_define";
import { elementDefine } from "../../../../../defines/element_define";
import { BotanyGood } from "../../../../goods-control/botany_good";

/**
 * 止血草
 */
export default class GoodNode extends BotanyGood {
	constructor(...params) {
		super(...params);
	}

	getTitle() {
		return "止血草";
	}

	getDesc() {
		return "能够愈合伤口的草药。";
	}

	getSpecialInfo(){
		return '食用后增加10点HP';
	}

	getDefaultAttr() {
		return {
			[attrDefine.element.key]: [elementDefine.wood.key],
			[attrDefine.weight.key]: .1,
			[attrDefine.durable.key]: 1,
			[attrDefine.action.key]: .4
		};
	}
}